#ifndef ANIMATIONMANAGER_H_
#define ANIMATIONMANAGER_H_

#include "Vector2D.h"

class AnimationManager
{
	double timeBetweenFrames;
	
	double timeSoFar;
	int currentFrame;
	int numFrames;
	int * frameSequence;
	int widthFrames;
	int heightFrames;
	
	public:
	void SetTimeBetweenFrames(double time);
	Vector2D * GetVertices();
	AnimationManager();
	AnimationManager(double timeBetweenFrames, int * frameSequence, int numFrames, int widthFrames, int heightFrames);
	~AnimationManager();
	void AddElapsedTime(double elapsedTime);
	
};
#endif /*ANIMATIONMANAGER_H_*/
